package com.ckjw.gobang.connect;

import java.io.Serializable;

/**
 * 用户类
 * @author lck and djw
 * @Date 2022年6月13日-上午10:29:24
 */
public class User implements Serializable{
    private String userId;//用户Id
    private String name;//用户名
    private String passwd;//用户密码
    public  String clor;//棋子颜色

    public User(String userId, String name,String passwd) {
        this.userId = userId;
        this.passwd = passwd;
        this.name=name;
    }
    
    public String getClor() {
        return clor;
    }

    public void setClor(String clor) {
        this.clor = clor;
    }

    public User() {

    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }
}
